package com.example.demo.mongo.dal;

import com.example.demo.mongo.entity.User;

import java.util.List;

/**
 * @Author: wn
 * @Date: 2021/8/6 16:58
 * @Version 1.0
 * @Note
 */
public interface UserDAL {
    List<User> findAll();

    User findById(String userId);

    User save(User user);

    void deleteById(String userId);
}
